#ifndef _key_state_task_H
#define _key_state_task_H


#include "cpu.h"


typedef struct
{
	uint8_t sw1_out1_key:1;
	uint8_t sw1_out2_key:1;
	uint8_t sw2_out0_key:1;
	uint8_t sw1_out3_key:1;
	uint8_t sw2_out1_key:1;
	uint8_t sw1_out5_key:1;
	uint8_t sw1_out0_key:1;
	uint8_t sw1_out4_key:1;

	uint8_t ai_box_key  :1;
	uint8_t flash_en    :1;
	uint8_t res			:6;
}KEY_STATE;

extern KEY_STATE key_state;

void app_key_stat(void);

#endif
